Skip to content

fix: regenerate pnpm-lock.yaml to fix broken lockfile CI failures#1121

Merged
hotlong merged 1 commit intomainfrom
copilot/update-framework-actions
Apr 13, 2026
Merged

fix: regenerate pnpm-lock.yaml to fix broken lockfile CI failures#1121
hotlong merged 1 commit intomainfrom
copilot/update-framework-actions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

PR #1117's merge commit carried only the workflow cache key bumps (v1v2) but silently dropped the regenerated pnpm-lock.yaml. All three CI jobs (Build Core, Test Core, Build Docs) fail at pnpm install --frozen-lockfile with ERR_PNPM_BROKEN_LOCKFILE: expected a single document in the stream, but found more.

Changes:

  • Regenerated pnpm-lock.yaml from scratch (rm pnpm-lock.yaml && pnpm install), reducing from 14,040 → 13,096 lines by removing corrupted/redundant entries
  • Updated CHANGELOG.md

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Ready Ready Preview, Comment Apr 13, 2026 11:59am
spec Ready Ready Preview, Comment Apr 13, 2026 11:59am

Request Review

@hotlong hotlong marked this pull request as ready for review April 13, 2026 11:59
Copilot AI review requested due to automatic review settings April 13, 2026 11:59
@github-actions github-actions bot added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file size/m labels Apr 13, 2026
@hotlong hotlong merged commit 7472801 into main Apr 13, 2026
9 of 15 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses CI failures caused by a corrupted pnpm-lock.yaml by regenerating the lockfile and updating release notes. It also updates auto-generated API reference docs to include the API events schema page.

Changes:

  • Regenerated pnpm-lock.yaml to resolve ERR_PNPM_BROKEN_LOCKFILE failures during pnpm install --frozen-lockfile.
  • Updated the changelog to document the lockfile fix.
  • Updated/added auto-generated API reference docs for events (and extended metadata plugin reference content).

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pnpm-lock.yaml Regenerated lockfile to fix YAML stream corruption and restore frozen-lockfile installs.
CHANGELOG.md Added an Unreleased “Fixed” entry documenting the lockfile regeneration and CI impact.
content/docs/references/api/metadata-plugin.mdx Updated generated API reference page; added MetadataEvent section and adjusted TypeScript usage snippet.
content/docs/references/api/events.mdx New generated API reference page for event schemas/types.
content/docs/references/api/meta.json Added events to the API reference navigation.
content/docs/references/api/index.mdx Added an “Events” card linking to the new reference page.

Comment on lines 655 to 659
version: link:../spec
react:
specifier: '>=18.0.0'
version: 19.2.4
version: 19.2.5
devDependencies:
Comment on lines +15 to 19
import { MetadataBulkRegisterRequest, MetadataEvent } from '@objectstack/spec/api';
import type { MetadataBulkRegisterRequest, MetadataEvent } from '@objectstack/spec/api';

// Validate data
const result = MetadataBulkRegisterRequest.parse(data);
Comment on lines +29 to +33
import { DataEvent, DataEventType, MetadataEventType } from '@objectstack/spec/api';
import type { DataEvent, DataEventType, MetadataEventType } from '@objectstack/spec/api';

// Validate data
const result = DataEvent.parse(data);
Comment on lines 17 to 22
<Card href="/docs/references/api/documentation" title="Documentation" description="Source: packages/spec/src/api/documentation.zod.ts" />
<Card href="/docs/references/api/endpoint" title="Endpoint" description="Source: packages/spec/src/api/endpoint.zod.ts" />
<Card href="/docs/references/api/errors" title="Errors" description="Source: packages/spec/src/api/errors.zod.ts" />
<Card href="/docs/references/api/events" title="Events" description="Source: packages/spec/src/api/events.zod.ts" />
<Card href="/docs/references/api/export" title="Export" description="Source: packages/spec/src/api/export.zod.ts" />
<Card href="/docs/references/api/feed-api" title="Feed Api" description="Source: packages/spec/src/api/feed-api.zod.ts" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants